<template>
  <div class="loading">
    <img width="24" height="24" :src="imgUrl">
    <p class="desc">{{title}}</p>
  </div>
</template>

<script>
  export default {
    name: 'loading',
    props: {
      title: {
        type: String,
        default: '正在载入...'
      }
    },
    data(){
        return{
            imgUrl:require('common/img/loading.gif')
        }
    }
  }

</script>
